package com.vhall.component.entity.room.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * 投资依据表
 * @TableName invest_ref
 */
@TableName(value ="invest_ref")
@Data
public class InvestRefEntity implements Serializable {
    /**
     *
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;
    /**
     * 投资依据 id
     */
    @TableField(value = "jy_id")
    private String jyId;

    /**
     * 审核状态,9:待送审,0:待审核,1:审核通过,-1:审核驳回
     */
    @TableField(value = "review_status")
    private Integer reviewStatus;

    /**
     * 依据格式
     */
    @TableField(value = "ref_form")
    private Integer refForm;

    /**
     * 依据类别
     */
    @TableField(value = "ref_type")
    private Integer refType;

    /**
     * 员工ID
     */
    @TableField(value = "author_id")
    private String authorId;

    /**
     * 用户名称
     */
    @TableField(value = "author")
    private String author;

    /**
     * 依据状态
     */
    @TableField(value = "ref_status")
    private Integer refStatus;

    /**
     * 依据评级
     */
    @TableField(value = "ref_rank")
    private Integer refRank;

    /**
     * 依据内容
     */
    @TableField(value = "ref_content")
    private String refContent;

    /**
     * 报告标题
     */
    @TableField(value = "ref_title")
    private String refTitle;

    /**
     * 引用次数
     */
    @TableField(value = "ref_num")
    private Integer refNum;

    /**
     * 证券代码
     */
    @TableField(value = "stock_code")
    private String stockCode;

    /**
     * 创建人 id
     */
    @TableField(value = "account_id")
    private Integer accountId;

    /**
     * 更新人 id
     */
    @TableField(value = "update_by")
    private Integer updateBy;

    /**
     * 创建时间
     */
    @TableField(value = "created_at")
    private LocalDateTime createdAt;

    /**
     * 更新时间
     */
    @TableField(value = "updated_at")
    private LocalDateTime updatedAt;

    /**
     *
     */
    @TableField(value = "deleted_at")
    private LocalDateTime deletedAt;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}